package com.service;

import com.bean.entity.Staff;
import com.bean.vo.PageAssistant;
import com.bean.vo.StaffQueryVo;
import com.bean.vo.StaffVo;

/**
 * 员工业务处理接口
 */
public interface StaffService {

    //查询员工
    StaffVo query(Staff staff) throws Exception;

    //分页查询
    PageAssistant<StaffVo> queryStaffByPage(PageAssistant<StaffVo> pa, StaffQueryVo staffQueryVo);

    //添加员工
    int add(Staff staff);
    //修改员工
    int modify(Staff staff);

    //删除员工
    int remove(Staff staff);
}
